/*
 * @Author: CPS
 * @Date: 2020-08-07 17:07:38
 * @Last Modified by: CPS
 * @Last Modified time: 2020-08-08 09:22:43
 * @Projectname Electron-fileWatcher
 * @file_path D:\CPS\MyProject\Electron-fileWatcher\src\renderer\pages\fileWatcher\js\config\icon.js
 * @Filename icon.js
 */
'use strict'

//解析成srv
import srcshare from '!!file-loader!./icon/share.svg';
import srcsettings from '!!file-loader!./icon/settings.svg';
import srcsetting from '!!file-loader!./icon/setting.svg';
import srclink from '!!file-loader!./icon/link.svg';
import srcgood from '!!file-loader!./icon/good.svg';
import srcclose_white from '!!file-loader!./icon/close_white.svg';
import srcbad from '!!file-loader!./icon/bad.svg';
import srcfolder from '!!file-loader!./icon/folder.svg';


//解析成svg
import svgshare from '!!svg-inline-loader!./icon/share.svg';
import svgsettings from '!!svg-inline-loader!./icon/settings.svg';
import svgsetting from '!!svg-inline-loader!./icon/setting.svg';
import svglink from '!!svg-inline-loader!./icon/link.svg';
import svggood from '!!svg-inline-loader!./icon/good.svg';
import svgclose_white from '!!svg-inline-loader!./icon/close_white.svg';
import svgbad from '!!svg-inline-loader!./icon/bad.svg';
import svgfolder from '!!svg-inline-loader!./icon/folder.svg';

//src的目录前缀
function prefix(t) {
  return 'renderer/' + t
}

export default {
  src: {
    share: prefix(srcshare),
    settings: prefix(srcsettings),
    setting: prefix(srcsetting),
    link: prefix(srclink),
    good: prefix(srcgood),
    close_white: prefix(srcclose_white),
    bad: prefix(srcbad),
    folder: prefix(srcfolder),
  },
  svg: {
    share: svgshare,
    settings: svgsettings,
    setting: svgsetting,
    link: svglink,
    good: svggood,
    close_white: svgclose_white,
    bad: svgbad,
    folder: svgfolder,
  }
}